package amigos;

import org.neo4j.graphdb.Node;



import servicios.Operation;

public class FormarAmistad implements Operation<Void> {
	
	private Node userA;
	private Node userB;

	public FormarAmistad(Node userA,Node userB){
		this.userA = userA;
		this.userB = userB;
	}
	
	public Void execute() {
		this.userA.createRelationshipTo(this.userB, TipoRelacion.AMIGO);
		return null;
	}
	
	

}
